package com.hs.panghu.dao;

import com.hs.panghu.entity.Community;

import java.util.List;
import java.util.Map;

public interface CommunityDao {
//    添加
    public int addCommunity(Community community);
//    修改
    public int editCommunity(Community community);
//    删除
    public int delCommunity(Integer communityId);
//    分页多头查询
    public List<Community> queryCommunitys(Map<String,String> map);
//    多条件查询总条数
    public int queryCounts(Map<String,String> map);
}
